package pl.prv.polanie.client.widgets.tree;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Tree;
import com.google.gwt.user.client.ui.TreeItem;

public class DraggableTree extends Composite {
	
	private Tree mainTree = new Tree();
	
	public DraggableTree() {
		initWidget(mainTree);
	}
	
	public void addItem(String label) {
		TreeItem ti = new TreeItem(label);
		mainTree.addItem(ti);
		
//		ti.getP
		
	}
	
	
	
	
	
	
}
